<div class="list-wrap" data-list="1" id="listContent">
<#list pageInfo.list as t>
    <a class="item clearfix" href="/travel/sale" target="_blank">
        <div class="image">
            <img src="${t.coverUrl}" height="150" width="200">
            <span class="mark-type type-10">
            <strong>${(t.beginPlace)!}出发</strong>
            <span>境内跟团游</span>
        </span>
        </div>
        <div class="detail">
            <div class="info" style="position: relative;">
                <p>已售${t.saleNum}</p>
                <h3>
                    ${t.title}
                </h3>
                <div class="s-tag">
                    <#list t.tagsList as tags>
                        <span>${tags.tags}</span>
                    </#list>
                </div>
                <p>
                    <span class="t">班期:${t.period}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;店铺:&nbsp;${t.seller}</span>
                </p>
                <span class="icon" style="position:absolute; right:0; bottom: 10px;"><img src="http://p3-q.mafengwo.net/s14/M00/FE/A1/wKgE2l0cdyGAVgqVAAANm2uLpvU699.png?imageView2%2F2%2Fw%2F450%2Fh%2F450%2Fq%2F90" height="34" width="100"></span>
            </div>
            <div class="extra">
                <div class="action">
                    <span class="btn">立即预定</span>
                    <div class="promo-tag">
                    </div>
                </div>
                <span class="price"><b>￥</b><strong>${t.price}</strong>起</span>
                <span class="promo-txt"><em>促销</em>每2人减300</span>

                <span class="discount-tag">券</span>
                <span class="discount-tag vip-discount">金卡专享</span>
            </div>
        </div>
    </a>
</#list>
<a href="javaScript:gotoPage(1)">首页</a>
<a href="javaScript:gotoPage(${pageInfo.prePage})">上一页</a>
<a href="javaScript:gotoPage(${pageInfo.nextPage})">下一页</a>
<a href="javaScript:gotoPage(${pageInfo.pages})">尾页</a>
共${pageInfo.total}条数据 页次${pageInfo.pageNum}/${pageInfo.pages}页

<script>
    function gotoPage(pageNum){
        //获取点击传入的数据,然后设置给id为currentPage的input元素的value
        document.getElementById("currentPage").value=pageNum;
        //获取表单元素对象,然后提交表单
        document.forms[0].submit();
    }
</script>